package GuavaEvent;

import com.google.common.eventbus.Subscribe;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-10-09 09:07
 */
public class GuavaEvent {

    @Subscribe
    public void subscribe(String str){
        //业务逻辑
        System.out.println("执行subscribe 方法,传入的参数是:" + str);
    }
}
